package com.mostka.wsrpc.client;

import com.mostka.rpc.client.WsRpcServer;
/**
 * class for server handling messages from client
 * 
 * every method must have first two arguments String channel name and int 
 * client id. it will be auto filled. other arguments is sended from client
 *
 */
public interface TestWsServer extends WsRpcServer<TestWsClient> {
	public abstract void sendToAll(String channel, TestWsClient client, String message);
    public abstract void sendTo(String channel, TestWsClient client, int recipientId, String message);
    public abstract void join(String channel, TestWsClient client, String nick);
    public abstract void getMessengers(String channel, TestWsClient client);
}
